package com.example.auto.config;

import com.api.signature.auto.spring.ApiSignContext;
import com.example.auto.service.PlusApiSignServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Jerry
 * @date 2024-01-25 10:30
 */
@Configuration
public class BeanConfig {

    /**
     *
     * @return
     */
    @Bean
    public PlusApiSignServiceImpl getPlusApiSignServiceImpl() {
        PlusApiSignServiceImpl plusApiSignService = new PlusApiSignServiceImpl();
        ApiSignContext.setApiSignService(plusApiSignService);
        return plusApiSignService;
    }
}
